home *** CD-ROM | disk | FTP | other *** search
- /*
- * This source file is part of Vahunz,
- * a tool to make source code un-/more legible.
- *
- *--------------------------------------------------------------------------
- *
- * Vahunz and the Ugly library are Copyright (C) 1998 by
- * Thomas Aglassinger <agi@giga.or.at>
- *
- * All rights reserved.
- *
- * Refer to the manual for more information.
- *
- *--------------------------------------------------------------------------
- *
- * Ubiqx library is Copyright (C) 1991-1998 by
- * Christopher R. Hertel <crh@ubiqx.mn.org>
- *
- * Ubiqx library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- */
- #ifndef n1P
- #define n1P
- #include <stddef.h>
- #include "utypes.h"
- #define g4Y 96
- #define r7J 8
- #ifndef h5Z
- #define h5Z(x,by) ((by)*(((x)+(by))/(by)))
- #endif
- #define w2W(es) ((es)->v7H)
- #define v1N(es) ((es)->g8G - 1)
- typedef struct
- {
- STRPTR v7H;
- size_t g8G;
- size_t w6Y;
- size_t z3Lu;
- }
- x7H;
- #ifndef w4Q
- extern x7H *y8Y(size_t q4K, STRPTR j5R, ULONG q6U);
- extern x7H *t9N(size_t q4K);
- extern void p1X(x7H * es);
- extern BOOL x5H(x7H * es);
- extern BOOL b3J(x7H * es, STRPTR j5R, ULONG q6U);
- extern BOOL f9H(x7H * es, d9P s, size_t n);
- extern BOOL x7B(x7H * es, d9P s);
- extern BOOL r5R(x7H * es, int ch);
- extern BOOL k0E(x7H * es, d9P s);
- extern BOOL r5V(x7H * es, d9P s, STRPTR j5R, ULONG q6U);
- extern BOOL a4A(x7H * es, int ch, STRPTR j5R, ULONG q6U);
- extern BOOL o0Mx(x7H * es, d9P s, STRPTR j5R, ULONG q6U);
- extern STRPTR c2C(x7H * es);
- extern size_t z7Pg(x7H * es);
- extern BOOL f5J(x7H * dest, x7H * src);
- extern BOOL e0C(x7H * dest, x7H * src);
- extern BOOL k0O(x7H * dest, x7H * src, size_t v5N, size_t num);
- extern BOOL h5B(x7H * dest, x7H * src, size_t num);
- extern BOOL z9F(x7H * dest, x7H * src, size_t num);
- #endif
- #if e0U
- #define s0Y( es, u0Qh ) k2Od( es, u0Qh, __FILE__, __LINE__ )
- #define d1V( es, s ) r5V( es, s, __FILE__, __LINE__ )
- #define v9N( es, ch ) a4A( es, ch, __FILE__, __LINE__ )
- #define o0S( es, s ) o0Mx( es, s, __FILE__, __LINE__ )
- #define s6Q( s ) y8Y( s, __FILE__, __LINE__ )
- #define n7V( s ) b3J( s, __FILE__, __LINE__ )
- #define n5H( s ) c2C( s )
- #define u0S( s ) z7Pg( s )
- #else
- #define s0Y( es, u0Qh ) q4Y( es, u0Qh )
- #define d1V( es, s ) x7B( es, s )
- #define v9N( es, ch ) r5R( es, ch )
- #define o0S( es, s ) k0E( es, s )
- #define s6Q( s ) t9N( s )
- #define n7V( s ) x5H( s )
- #define n5H( s ) w2W( s )
- #define u0S( s ) v1N( s )
- #endif
- #endif
-